Determines whether this instance is registered.
public static bool IsRegistered<>()
'Declaration
Public Overloads Shared Function IsRegistered(Of )() As Boolean
'Usage
Dim value As Boolean
value = ServiceLocator.IsRegistered(Of T)()
public:
static bool IsRegisteredgeneric<typename >
();
Type Parameters
- T
- The type to search for.
Return Value
true
if this instance is registered; otherwise, false
.